<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型-单边框线</title>
    <style>
        div {
            width: 40px;
            height: 50px;
            background-color: green;
            border-top: 10px solid #000;
            border-right: 5px dotted pink;
            border-bottom: 10px dashed red;
            border-left: 1px solid #000;
        }
    </style>
</head>

<body>
    <div>
        标签
    </div>
</body>

</html>